﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wfRegMailSend.aspx.cs" Inherits="msBsc.WebUi.Custom.wfRegMailSend" %>

<!DOCTYPE HTML>
<html>
<head id="Head1" runat="server"> 
    <title>发送注册确认邮件</title>
    <link rel="shortcut icon" href="/themes/Style1/Image/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="/??themes/Style1/StyleQt.css,themes/Style1/reg2.css," />  
    <script src="/??jqPlugin/js/jquery-1.8.3.min.js,js/jBase.js,js/jBPage.js,themes/Style1/jsQt.js" type="text/javascript"></script>
    <!--head fix rgn--> 
    <script type="text/javascript">
        $(window).load(function () {
            var regcurrmail = LS.get("CURR_REG_MAIL"); 
            if (!regcurrmail || regcurrmail == '') {
                window.location.href = '/c_RegMailFill.htm';
            } else {
                var regcurrstep = LS.get(regcurrmail);
                if (regcurrstep == "STEP2") {
                    window.location.href = '/c_RegUserInfoFill.htm';
                }
                if (regcurrstep == "STEP3") {
                    window.location.href = '/c_RegSuccess.htm';
                }
                var regcurrdt = LS.get(regcurrmail + "_RDT");
                if (!regcurrdt || parseInt(((new Date()) - Date.parse(regcurrdt)) / (1000 * 60 * 60)) > 24) {
                    reRegister();
                }

                var site = regcurrmail.split('@')[1];
                var urlt = hashmail[site];
                if (urlt == undefined) {
                    $("#J_GoToEmailWeb").attr("target", "_self").click(function () {
                        alert("请你登陆邮箱激活账号！");
                    });
                } else {
                    $("#J_GoToEmailWeb").attr("href", urlt);
                }

                $("#spnMailNme").html(regcurrmail);
                $("#J_Email").val(regcurrmail);
                $("#J_ReSendEmail").click(function () {
                    var _jsParam = new jsonRow();
                    _jsParam.AddCell("ACTION", "REGIST_STEP1");
                    _jsParam.AddCell("EMAIL", $("#J_Email").val());
                    ajaxComm(_jsParam);
                });
                $("#J_NoReceiveHandler").click(function () {
                    $("#J_TipsEmailNoReceived").show();
                });
            }

        });
        function reRegister() {
            var regcurrmail = LS.get("CURR_REG_MAIL");
            if (regcurrmail && regcurrmail != '') {
                LS.remove("CURR_REG_MAIL");
                LS.remove(regcurrmail);
                LS.remove(regcurrmail+"_RDT");
            }
            window.location.href = '/c_RegMailFill.htm';
        };

        var hashmail = {
            'qq.com': 'http://mail.qq.com',
            'gmail.com': 'http://mail.google.com',
            'sina.com': 'http://mail.sina.com.cn',
            '163.com': 'http://mail.163.com',
            '126.com': 'http://mail.126.com',
            'yeah.net': 'http://www.yeah.net/',
            'sohu.com': 'http://mail.sohu.com/',
            'tom.com': 'http://mail.tom.com/',
            'sogou.com': 'http://mail.sogou.com/',
            '139.com': 'http://mail.10086.cn/',
            'hotmail.com': 'http://www.hotmail.com',
            'live.com': 'http://login.live.com/',
            'live.cn': 'http://login.live.cn/',
            'live.com.cn': 'http://login.live.com.cn',
            '189.com': 'http://webmail16.189.cn/webmail/',
            'yahoo.com.cn': 'http://mail.cn.yahoo.com/',
            'yahoo.cn': 'http://mail.cn.yahoo.com/',
            'eyou.com': 'http://www.eyou.com/',
            '21cn.com': 'http://mail.21cn.com/',
            '188.com': 'http://www.188.com/',
            'foxmail.com': 'http://www.foxmail.com'
        };
    </script> 
</head>
<body > 
    <div id="mallPage" class="tms-page mallAct tmall-  page-not-market">
        <!-- -->
        <!--商城通用顶通-->
        <%=new msBsc.WebUi.Code.QtHtmlGet().GetHeaderTopHtml()%>
        <%=new msBsc.WebUi.Code.QtHtmlGet().GetHeaderLogoHtml()%>



<div class="page lang-zh-S" style=" background-color:#fff; margin-top:10px; padding:10px;">
		 
		 
		<div class="steps">
	<ol>
		<li  class="active" ><i>1</i><span class="tsl" data-phase-id="r_p_createAccount">设置登录名</span></li>
		<li ><i>2</i><span class="tsl" data-phase-id="r_p_fillUserInfo">填写账户信息</span></li>
		<li ><i >3</i><span class="tsl" data-phase-id="r_p_regSuc">注册成功</span></li>
	</ol>

	</div>
	
	<div class="content">
		<div class="email-sent">
			<h2 style="clear:both; margin-top:50px;"><span class="tsl" data-phase-id="r_2_mailSentTip">验证邮件已发送到邮箱</span>&nbsp;<em><span id="spnMailNme"></span></em></h2>
			<p class="tsl" data-phase-id="r_2_gotoMailTip">请在24小时内点击邮箱中的链接继续注册</p>
			<div class="email-sent-op">
				<input type="hidden" id="J_Email" value="" />
				<input type="hidden" id="J_UserNumId" value="" />
				<a class="btn tsl" target="_blank"  href="javascript:void(0);return false;" id="J_GoToEmailWeb">立即查收邮件</a>
				<div class="email-sent-noreceived">
					<a  class="tsl"  href="javascript:void(0);return false;" target="_self" id="J_NoReceiveHandler">没有收到邮件?</a>
				</div>
			</div>
			<div class="email-sent-op">
            <div class="tips tips-below tips-email" style="display:none;" id="J_TipsEmailNoReceived">
						<i></i>
						<div class="tips-body">
							<ul>
								<li class="tsl" >请先检查是否在垃圾邮件中</li>
                                <li><span class="tsl" >如果还未收到</span><button class="btn-resend-email tsl" id="J_ReSendEmail">重新发送邮件</button></li>
                                <li><span class="tsl" >一直收不到，请试试</span><a href="javascript:void(0);return false;" class="tsl" onclick="reRegister();" target="_self">更换邮箱</a></li>							</ul>
						</div>
					</div>
			</div>
			</div>
		</div>
	</div>
	
        <%=new msBsc.WebUi.Code.QtHtmlGet().GetFloorHtml()%> 
    </div>
    <!-- foot script --> 
</body>
</html>
